#include"tcpClient.hpp"

void Usage(std::string arg)
{
  std::cout<<arg<<" Usage : Ip port "<<std::endl;
}
int main(int argc , char* argv[])
{
  if( argc != 3 )
  {
     Usage(argv[0]);
     exit(5);
  }
  tcpClient* tcpc = new tcpClient(argv[1],atoi(argv[2]));
  tcpc->tcpClientInit();
  tcpc->start();
  return 0;
}
